#ifndef _CSound_H
#define _CSound_H

#include <SDL\SDL.h>
#include <SDL\SDL_mixer.h>
#include <vector>

class CSound {

	private:
		Mix_Chunk* chunk;

	public:
		CSound();

		static CSound soundControl;
		static std::vector<Mix_Chunk*> soundList;

		int onLoad(char *file);
		void onCleanup();

		void play(unsigned int id);
		void setVolume(unsigned int v);
};

#endif